/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.yunhoo.sys.util.tree;

/**
 *
 * @author Administrator
 */
public class TreeRule {

    public static String[] getOrganizationTreeRule() {
        //单位树规则
        String[] rule = {"3", "2", "2"};
        return rule;
    }

    public static String[] getDepartmentTreeRule() {
        //部门树规则
        String[] rule = {"2", "2"};
        return rule;
    }

    public static String[] getFunctionTreeRule() {
        //功能科目树规则
        String[] rule = {"3", "2", "2"};
        return rule;
    }

    public static String[] getEconomicTreeRule() {
        //经济科目树规则
        String[] rule = {"3", "2", "2"};
        return rule;
    }

    public static String[] getCategoryTreeRule() {
        //采购类目树规则
        String[] rule = {"1", "2", "2", "2", "2"};
        return rule;
    }

    public static String[] getInventTypeTreeRule() {
        //存货类型树规则
        String[] rule = {"1", "2", "2", "2", "2"};
        return rule;
    }

    public static String[] getProjectTreeRule() {
        //项目树规则
        String[] rule = {"4", "3", "3"};
        return rule;
    }

    public static String[] getAssetGBCodeTreeRule() {
        //固定资产国标码 树规则
        String[] rule = {"2", "1", "1", "2"};
        return rule;
    }

    public static String[] getContractTypeTreeRule() {
        //合同类型 树规则
        String[] rule = {"2", "2", "2"};
        return rule;
    }
     public static String[] getCostItemTreeRule() {
        //费用项目规则
        String[] rule = {"3", "2", "2"};
        return rule;
    }
}
